package classJSON;

/**
 * @author Andriy
 * This class used for compose response to provider with it password and code of error
 * */
public class RegResponse {
	public static final int REG_SUCCESS=0;

	private String pass;
	private int error;
	public RegResponse()
	{
		setError(REG_SUCCESS);
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	public void setError(int error) {
		this.error = error;
	}
}
